﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kingdee.BOS.Core.CloudModel.Crm
{

    public class CrmType<T>
    {
        public string Type { get; set; }
        public List<T> dataList { get; set; }
    }


    public class Crm_Material<T>
    {
        /// <summary>
        /// 
        /// </summary>
        public string module { get; set; }//CRM模块名称
        /// <summary>
        /// 
        /// </summary>
        public string func { get; set; }//操作方式名称
        /// <summary>
        /// 
        /// </summary>
        public string apikey { get; set; }//key
        /// <summary>
        /// 
        /// </summary>
        public string token { get; set; }//认证令牌
        /// <summary>
        /// 
        /// </summary>
        public string username { get; set; }//用户名
        /// <summary>
        /// 
        /// </summary>
        public List<T> dataList { get; set; }
    }

    /// <summary>
    /// 物料
    /// </summary>
    public class Crm_MaterialList
    {
        /// <summary>
        /// 组织id
        /// </summary>
        public int orgid { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string product_no { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string productname { get; set; }
        /// <summary>
        /// 编码或条码
        /// </summary>
        public string productcode { get; set; }
        /// <summary>
        /// 产品类别
        /// </summary>
        public string productcategory { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string productsheet { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string unit_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string procostprice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string qtyinstock { get; set; }
        /// <summary>
        /// 商品重量
        /// </summary>
        public string cf_5262 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string qtyearly { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string discontinued { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string productdetails { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string usageunit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string promodifiedby { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prosmownerid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string smcreatorid { get; set; }

        //---------------------------------------------------
        public string OrgNo { get; set; }
        public string OrgName { get; set; }
        public string DSID { get; set; }
        public ZHYP_MaterialData ZHYP_MaData { get; set; }
    }
    //中合誉品所需
    public class ZHYP_MaterialData
    {
        /// <summary>
        /// 
        /// </summary>
        public string sku_bn { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string product_title { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string product_class_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? sale_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? cost_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? agency_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string supplier_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shop_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string top_class_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string second_class_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string title_acronym { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string big_pic { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? mkt_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int point { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int unitstock { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string delivery_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int ship_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? ship_default_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string is_presell { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string onerebate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tworebate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string threerebate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string one_recommend_ratio { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string two_recommend_ratio { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string three_recommend_ratio { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int is_grounding { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int limit_num { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double tax_rate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string is_rebate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string is_rebate_admin { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string rebate_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string is_recommend_ratio { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string is_recommend_ratio_admin { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string recommend_ratio_type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string packing { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sell_count { get; set; }
        /// <summary>
        /// 箱装
        /// </summary>
        public string packed { get; set; }
        /// <summary>
        /// 商品条形码
        /// </summary>
        public string sku_bar_code { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string position { get; set; }
    }

}
